.base {
  height: 0;
  opacity: 0;
  pointer-events: none;
  position: relative;
  transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out;
  z-index: 3;

  .container {
    align-items: center;
    background-color: var(--theme-colors-monochrome-17);
    border: solid var(--theme-sizes-border-width) var(--theme-colors-monochrome-12);
    border-radius: var(--theme-sizes-border-radius);
    box-shadow: var(--theme-shadow);
    display: flex;
    height: 48px;
    justify-content: space-between;
    padding: var(--theme-sizes-layout-medium);
    padding-right: var(--theme-sizes-layout-big);
    position: absolute;
    width: 100%;
    z-index: 1;
  }
  .container::before {
    background-color: var(--theme-colors-monochrome-17);
    border-color: var(--theme-colors-monochrome-12);
    border-style: solid;
    border-width: 0 var(--theme-sizes-border-width) var(--theme-sizes-border-width) 0;
    box-shadow: var(--theme-shadow);
    content: '';
    display: block;
    height: 12px;
    left: 24px;
    position: absolute;
    top: 100%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
  }
  .container::after {
    background-color: var(--theme-colors-monochrome-17);
    bottom: 0;
    content: '';
    height: calc(var(--theme-sizes-layout-medium) - 1px);
    left: 24px;
    position: absolute;
    transform: translateX(-50%);
    width: 30px;
  }
  .actions {
    align-items: center;
    display: flex;
  }
  .actions > * {
    margin-right: var(--theme-sizes-layout-medium);
  }
  .message {
    font-size: var(--theme-sizes-font-medium);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  &.show {
    height: 48px;
    opacity: 1;
    pointer-events: all;
  }

  @media only screen and (max-width: $breakpoint-mobile) {
    .container {
      flex-direction: column;
      height: 78px;
      justify-content: flex-start;
      padding: 0;
    }
    .actions {
      overflow: auto;
      padding: var(--theme-sizes-layout-medium);
      width: 100%;
    }
    .message {
      padding-bottom: var(--theme-sizes-layout-medium);
    }
    &.show {
      height: 78px;
    }
  }
}
